<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <RoslynApiVersion>$(MicrosoftCodeAnalysisVersion_4_0)</RoslynApiVersion>
    <DefineConstants>$(DefineConstants);ROSLYN4_0_OR_GREATER</DefineConstants>
    <IsHighAotMemoryUsageTest>true</IsHighAotMemoryUsageTest>
    <EmccLinkOptimizationFlag Condition="'$(ContinuousIntegrationBuild)' == 'true'">-O1</EmccLinkOptimizationFlag>
    <WasmNativeStrip>false</WasmNativeStrip>
    <!-- this Roslyn version brings in NS1.x dependencies -->
    <FlagNetStandard1XDependencies>false</FlagNetStandard1XDependencies>
  </PropertyGroup>

  <ItemGroup>
    <HighAotMemoryUsageAssembly Include="Microsoft.CodeAnalysis.CSharp.dll" />
  </ItemGroup>

  <Import Project="Microsoft.Extensions.Logging.Generators.targets"/>

  <ItemGroup>
    <ProjectReference Include="..\..\gen\Microsoft.Extensions.Logging.Generators.Roslyn4.0.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="true" />
  </ItemGroup>

</Project>
